package com.whalecloud.chart.domain;

import com.alibaba.fastjson.JSONArray;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description
 * @Author MarkAsh
 * @Date 2025/2/22
 **/
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class DrawChartRequestDTO {
    /**
     * 图表类型
     */
    private String chartType;

    /**
     * 图表标题
     */
    private String title;

    /**
     * 数据源
     */
    private JSONArray sourceData;

    /**
     * 横坐标
     */
    private String xLabel;

    /**
     * 纵坐标
     */
    private String yLabel;
}
